package com.twetec.cms.model.po.system;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.twetec.cms.model.po.base.BasePO;

/**
 * <p>
 * 角色和权限表
 * </p>
 *
 * @author zhxl
 * @since 2020-10-28
 */
@TableName("SYSTEM_ROLE_PERMISSION")
public class RolePermissionPO extends BasePO {

    private static final long serialVersionUID=1L;

    /**
     * 角色ID
     */
    @TableField("ROLE_ID")
    private Long roleId;

    /**
     * 权限ID
     */
    @TableField("PERMISSION_ID")
    private Long permissionId;

    /**
     * 数据域
     */
    @TableField("COLUMN1")
    private String column1;


    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(Long permissionId) {
        this.permissionId = permissionId;
    }

    public String getColumn1() {
        return column1;
    }

    public void setColumn1(String column1) {
        this.column1 = column1;
    }

    @Override
    public String toString() {
        return "RolePermissionPO{" +
        "roleId=" + roleId +
        ", permissionId=" + permissionId +
        ", column1=" + column1 +
        "}";
    }
}
